//
//  iOSWindow.m
//  GSEngine
//
//  Created by Гукун Александр on 1/23/14.
//  Copyright (c) 2014 SNK. All rights reserved.
//

#include "iOSWindow.h"
#import "iOSGLESView.h"


namespace GSEngine
{
    iOSWindow::iOSWindow(vec2f worldSize, vec2f screenSize) : GSWindow(worldSize, screenSize)
    {
        m_renderView = [[iOSGLESView alloc] initWithFrame: CGRectMake(0.0f, 0.0f, screenSize.x, screenSize.y)];
        std::cout << "iOS window created\n";
    }
    
    iOSWindow::~iOSWindow()
    {
        std::cout << "iOS window destroyed\n";
    }
}